package com.example.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.config.exception.GlobalExcetion;
import com.example.domain.BusNote;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.domain.dto.BusNoteDto;
import com.example.domain.vo.BusNoteVo;

/**
* @author CETC
* @description 针对表【bus_note】的数据库操作Service
* @createDate 2025-10-21 11:42:46
*/
public interface BusNoteService extends IService<BusNote> {

    public BusNote saveOrUpdateBusNote(BusNoteVo busNote) throws GlobalExcetion;

    public IPage<BusNote> pageBusNote(String userId,Integer pageNo,Integer pageSize,String keyword);

    public BusNote getBusNoteCache(String id);

    public void evictBusNoteCache(String id);

    public BusNoteDto getBusNoteDtoCache(String id);

}
